package com.bst.bsj.common.dal.dataobject;

import java.util.Date;

import com.sylinxsoft.tools.BaseDO;
import com.sylinxsoft.tools.annotation.BoConfig;
import com.sylinxsoft.tools.annotation.BoFieldConfig;
import com.sylinxsoft.tools.annotation.Comment;


/**
 * 注册用户表
 * 
 * @author han 2016年3月18日 上午11:48:04
 *
 */
@BoConfig(tableName = "t_sys_member")
public class Member extends BaseDO {

	/**
	 * 用户ID
	 */
	@BoFieldConfig(columnName = "uid")
	private String	uid;
	/**
	 * 手机
	 */
	@BoFieldConfig(columnName = "mobile")
	private String	mobile;

	/**
	 * 昵称
	 */
	@BoFieldConfig(columnName = "nick_name")
	private String	nickName;

	/**
	 * 姓名
	 */
	@BoFieldConfig(columnName = "real_name")
	private String	realName;

	/**
	 * 头像
	 */
	@BoFieldConfig(columnName = "avatar")
	private String	avatar;

	/**
	 * 密码经过MD5加密
	 */
	@BoFieldConfig(columnName = "pwd")
	private String	pwd;

	/**
	 * 是否企业用户
	 */
	@BoFieldConfig(columnName = "is_company_user")
	private Boolean	isCompanyUser;
	
	/**
   * 用户状态 (启用、注销、封号)
   */
  @BoFieldConfig(columnName = "status")
  private String status;
  
  /**
   * 具体位置-省份
   */
  @BoFieldConfig(columnName = "province_name")
  private String    provinceName;


  /**
   * 具体位置-城市
   */
  @BoFieldConfig(columnName = "city_name")
  private String    cityName;
  
  
  @BoFieldConfig(columnName = "last_login")
  @Comment(description = "最后一次登录时间")
  private Date lastLogin;

  /**
   *登录累计个数
   */
  @BoFieldConfig(columnName = "logined_count")
  private Integer    loginedCount;
  
  
	public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }
  
  public String getProvinceName() {
    return provinceName;
  }

  public void setProvinceName(String provinceName) {
    this.provinceName = provinceName;
  }

  public String getCityName() {
    return cityName;
  }

  public void setCityName(String cityName) {
    this.cityName = cityName;
  }

  public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public Boolean getIsCompanyUser() {
		return isCompanyUser;
	}

	public void setIsCompanyUser(Boolean isCompanyUser) {
		this.isCompanyUser = isCompanyUser;
	}

  public Date getLastLogin() {
    return lastLogin;
  }

  public void setLastLogin(Date lastLogin) {
    this.lastLogin = lastLogin;
  }

  public Integer getLoginedCount() {
    return loginedCount;
  }

  public void setLoginedCount(Integer loginedCount) {
    this.loginedCount = loginedCount;
  }

	
	
}
